package org.sadhar.sipp.tagihan;

import java.util.List;
import java.util.Map;

import org.sadhar.sia.common.ClassConnection;
import org.sadhar.sia.common.ClassUtility;

public class TagihanDAOImpl implements TagihanDAO{

    @Override
    public List<Map> listByNamaTagih(String namaTagih) {
	String sql = "SELECT * FROM kamus.tagihan t where t.nama_tagih like ?";
	
	return ClassConnection.getJdbc().queryForList(sql,new Object[]{"%"+ClassUtility.quote(namaTagih)+"%"});
    }

}
